<template>
	<view class="p_bg_all p_bg_f3">
		<view class="p_bg_fff">
			<view class="p_flex2 p_font_28" @click="getList1">
				<view class="p_flex_1">用户隐私政策</view>
				<image src="https://dy.sykj365.com/uploads/mini/youjiantou@2x.png" class="p_img_48"></image>
			</view>
			<view class="p_flex2 p_font_28" @click="getList2">
				<view class="p_flex_1">用户服务协议</view>
				<image src="https://dy.sykj365.com/uploads/mini/youjiantou@2x.png" class="p_img_48"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				imgHost: this.$api.yuming,
				a: '/uploads/mini/yszc.docx',
				b: '/uploads/mini/fwxy.docx'
			}
		},
		methods: {
			getList1() {
				let a_ = this.imgHost + this.a;
				getApp().getSeeFile(a_)
			},
			getList2() {
				let a_ = this.imgHost + this.b;
				getApp().getSeeFile(a_)
			}
		}
	}
</script>

<style>
	.p_bg_fff {
		border-radius: 16rpx;
		margin: 48rpx 32rpx;
	}

	.p_flex2 {
		padding: 24rpx 32rpx;
		border-bottom: 1px solid #f4f4f4;
	}

	.p_flex2:last-child {
		border-bottom: none;
	}
</style>